//
//  YZMYinLianPayViewController.m
//  YZMicroStock
//
//  Created by apple on 2018/1/5.
//  Copyright © 2018年 cqjr. All rights reserved.
//

#import "YZMYinLianPayViewController.h"
#import "YZMYinLianPayCell.h"

static NSString *const identifier = @"YZMYinLianPayCell";

@interface YZMYinLianPayViewController ()<UITableViewDelegate,UITableViewDataSource>

@property (weak, nonatomic) IBOutlet UITableView *tableViewContainer;

@end

@implementation YZMYinLianPayViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    // Do any additional setup after loading the view from its nib.
    [self configView];
}

- (void)configView{
    [_tableViewContainer registerNib:[UINib nibWithNibName:NSStringFromClass([YZMYinLianPayCell class]) bundle:nil] forCellReuseIdentifier:identifier];
    _tableViewContainer.separatorStyle = UITableViewCellSeparatorStyleNone;
}

- (NSInteger)tableView:(UITableView *)tableView numberOfRowsInSection:(NSInteger)section{
    return 1;
}

- (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath{
    YZMYinLianPayCell *cell = [tableView dequeueReusableCellWithIdentifier:identifier forIndexPath:indexPath];
    return cell;
}

- (CGFloat)tableView:(UITableView *)tableView heightForRowAtIndexPath:(NSIndexPath *)indexPath{
    return 359;
}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
